Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.x: Support built-in health check config at health.checks (retaining now-deprecated helidon.health for compatibility) #9337

Conversation

tjquinno
Copy link
Member

@tjquinno tjquinno commented Oct 8, 2024

Description

Resolves #9322

The PR allows (and encourages, through changes in the doc and Javadoc) the use of health.checks (preferred over helidon.health) as the prefix for config keys to control the built-in health checks.

The now-deprecated helidon.health prefix still works although its use triggers a warning courtesy of the new utility class DeprecatedMpConfig. (This is patterned closely after the existing DeprecatedConfig class but that does not work with proxied MP Config objects.)

There are some public constants which retain their old values (even though the syntax for how they are computed has changed) so any user code relying on the previous values will continue to work unchanged.

The Javadoc and the .adoc doc now refer to health.checks as the config prefix.

A few tests added.

Documentation

Doc is updated.

@tjquinno tjquinno self-assigned this Oct 8, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 8, 2024
ljnelson
ljnelson previously approved these changes Oct 8, 2024
Copy link
Member

@ljnelson ljnelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

spericas
spericas previously approved these changes Oct 8, 2024
@tjquinno tjquinno dismissed stale reviews from spericas and ljnelson via 0c7acee October 8, 2024 21:39
@romain-grecourt romain-grecourt changed the title Support built-in health check config at health.checks (retaining now-deprecated helidon.health for compatibility) 3.x: Support built-in health check config at health.checks (retaining now-deprecated helidon.health for compatibility) Oct 16, 2024
Copy link
Member

@ljnelson ljnelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay; LGTM

@tjquinno tjquinno merged commit 4899076 into helidon-io:helidon-3.x Nov 7, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants